Xbasic

OEM_TO_ANSI Function

Syntax

Result_String as C = OEM_TO_ANSI(C string,N length)

Arguments

string

A string containing characters to be translated.

length

The number of characters to translate. Numeric

Description

Interface to windows oem_to_ansi function

Discussion

OEM_TO_ANSI() converts the specified Number_of_Characters in the Source_Buffer from the OEM (DOS) character set to the ANSI (Windows) character set, and returns the result in Result_String.

See Also